package 考试题;

public class Demo {
    public static void main(String[] args) {
        //创建老板对象
        Boss boss = new Boss();
        //创建员工对象
        Employee employee = new Employee();
        //设置为Boss工作的员工
        boss.setEmployee(employee);
        //Boss通知员工工作
        boss.callEmployeeToWork(30);

    }
}
